save

open fun save(token: String?)

Sets the current Pocketbase token to a new one.

Parameters

token

The token you wish to override the existing one with (or set to null to signify no token).